package com.yphone.ui.pay.contract;

import android.content.Context;

import com.yphone.base.IBasePresenter;
import com.yphone.base.IBaseView;
import com.yphone.net.IUIDataListener;
import com.yphone.ui.login.contract.LoginActivityContract;
import com.yphone.ui.pay.bean.PayInfo;

import java.util.List;

public interface PayActivityContract {
    interface IPresenter extends IBasePresenter{
        void load();
        void queryOrder(IUIDataListener iuiDataListener,int num);
    }

    interface IView extends IBaseView<PayActivityContract.IPresenter> {
        Context getContext();

        void success(List<PayInfo> data);

        void logout();

    }

    interface Imodel {
        void request(IUIDataListener iuiDataListener);

    }
}
